package org.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("air")
public class Air {
    @TableId(type = IdType.AUTO)
    private Long id;
//    @TableField("districtid")
    private Long districtid;
    @TableField("monitorTime")
    private Date monitorTime;
    private int pm10;
    private int pm25;
    @TableField("monitoringStation")
    private String monitoringStation;
}
